<template>
  <div class="navbar">
    <!-- 切换栏 -->
    <ToggleSidebar />
    <!-- 面包屑 -->
    <Breadcrumb />
    <div class="navbar-right">
      <!-- 全屏 -->
      <ScreenFull class="navbar-item" />
      <!-- 中英文切换 -->
      <Lang class="navbar-item" />
      <!-- 头像框 -->
      <Avatar class="navbar-item" />
    </div>
  </div>
</template>

<script setup>
import ToggleSidebar from './components/ToggleSidebar.vue'
import Breadcrumb from './components/Breadcrumb.vue'
import Avatar from './components/Avatar.vue'
import Lang from './components/Lang.vue'
import ScreenFull from './components/ScreenFull.vue'

</script>

<style lang="scss" scoped>
.navbar {
  width: 100%;
  height: 60px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  padding: 0 16px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  position: relative;
  .navbar-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    ::v-deep .navbar-item {
      display: inline-block;
      margin-left: 18px;
      font-size: 22px;
      color: #5a5e66;
      box-sizing: border-box;
      cursor: pointer;
    }
  }
}
</style>
